package org.elanfox.intellicommunity.biz.entity.embeddable;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 * @author allan
 * @version 1.0.0
 * @date 2019/12/18
 */
@Embeddable
@Setter
@Getter
public class LocatorInfo {
    /**
     * 定位器位置
     */
    @Column(name = "address")
    private String address;
    /**
     * 定位器在室内地图上的经度
     */
    @Column(name = "longitude")
    private String longitude;
    /**
     * 定位器在室内地图上的纬度
     */
    @Column(name = "latitude")
    private String latitude;
    /**
     * 是否楼层节点（如，电梯口，楼梯口等地）
     */
    @Column(name = "floor_node")
    private Boolean floorNode;
    /**
     * 对应社区位置
     */
    @Column(name = "structure_id")
    private Integer structureId;
    /**
     * 对应社区位置
     */
    @Column(name = "img_url")
    private String imgUrl;
}
